//
//  CommentsTableViewCell.m
//  DefendHealth
//
//  Created by 吾诺翰卓003 on 17/2/23.
//  Copyright © 2017年 iMacOne. All rights reserved.
//

#import "CommentsTableViewCell.h"
#import "Header.h"
@implementation CommentsTableViewCell

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    if (self == [super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
        UILabel *lab1 = [UILabel new];
        lab1.frame = CGRectMake(10, 12, WindowWidth-20, 40);
        lab1.text = @"在这里输入内容在这里输入内容在这里输入内容在这里输入内容在这里输入内容在这里输入内容在这里输入内容在这里输入内容";
        lab1.font = FONT(10);
        lab1.textColor = UIColorFromRGB(0x333333);
        lab1.textAlignment = 0;
        lab1.numberOfLines = 100;
        [self.contentView addSubview:lab1];
        
        UIImageView *img = [UIImageView new];
        img.frame = CGRectMake(10, kMaxY(lab1.frame)+12, WindowWidth-20, 130);
        img.backgroundColor = [UIColor grayColor];
        [self.contentView addSubview:img];
        
        
    }
    return self;
}
@end
